<template>
  <div class="app">
      <!-- 头部 -->
  <my-head title="合作伙伴" :go="true" :ri="false"></my-head>
  <!-- 中间内容 -->
  <div class="content">
  <ul v-for="(item,index) in list" :key="index">
      <li><img :src="item.imgs"></li> 
      <li>{{item.title}}</li>
      <li>{{item.content}}</li>
  </ul>
  </div>
  </div>
</template>

<script>
import Head from "@/components/Head";
export default {
  name: "app",
  data() {
    return {
        list:[]
    };
  },
  components: {
    myHead: Head
  },
  created(){
  this.$http.get("../../../../../static/js/cooperativepartner.json").then((res)=>{
    //   console.log(res.data);
      this.list=res.data.partner
  }),()=>{
      console.log("请求数据失败")
  }
  }
};
</script>

<style scoped>
.head {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  border-bottom: 1px solid #ededed;
}
/* 图片 */
img{
    width: 100%;
}
/* 中间内容 */
.content{
    width: 100%;
    
}
.content ul li:nth-child(1){
    width:1.38rem ;
    margin: 0 auto;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    text-align: center;
}
.content ul li:nth-child(2){
    font-size: 20px;
    margin-bottom: 0.3rem;
    text-align: center;
}
.content ul li:nth-child(3){
text-indent: 2em;
margin:0 0.2rem 0.35rem 0.2rem;
line-height: 0.25rem;

}
</style>
